home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / utils / file / managers / git-4.3 / git-4 / git-4.3.7 / src / signals.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-08  |  1.3 KB  |  47 lines

  1. /* signal.h -- function prototypes for those stupid functions in signal.c. */
  2.  
  3. /* Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.
  4.  
  5.    This program is free software; you can redistribute it and/or modify
  6.    it under the terms of the GNU General Public License as published by
  7.    the Free Software Foundation; either version 2, or (at your option)
  8.    any later version.
  9.  
  10.    This program is distributed in the hope that it will be useful,
  11.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.    GNU General Public License for more details.
  14.  
  15.    You should have received a copy of the GNU General Public License
  16.    along with this program; if not, write to the Free Software
  17.    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  18.  
  19. /* Written by Tudor Hulubei and Andrei Pitis.  */
  20.  
  21.  
  22. #ifndef _GIT_SIGNAL_H
  23. #define _GIT_SIGNAL_H
  24.  
  25.  
  26. #include "stdc.h"
  27.  
  28.  
  29. #define SIG_OFF         0
  30. #define SIG_ON          1
  31.  
  32.  
  33. extern int UserHeartAttack;
  34.  
  35.  
  36. extern RETSIGTYPE suspend __P((int));
  37. extern RETSIGTYPE resume __P((int));
  38. extern RETSIGTYPE user_panic __P((int));
  39.  
  40. extern void signals_dfl __P(());
  41. extern void signals __P((int));
  42. extern void ignore_signals __P(());
  43. extern void restore_signals __P(());
  44.  
  45.  
  46. #endif  /* _GIT_SIGNAL_H */
  47.